<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../assets/img/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="../../assets/img/favicon-32.png">
<link rel="shortcut icon" href="../../assets/img/favicon-32.png">

<link rel="stylesheet" href="../../assets/css/vk.css"/>
<link rel="stylesheet" href="../../assets/css/prism.css"/>


<vk-title>vkCmdTraceRaysNV | NVK</vk-title>

<vk-centered>

  <vk-navigation>
  <vk-search-title>Search</vk-search-title>
  <vk-search>
    <input type="text" id="search" autocomplete="off" />
    <vk-search-results>
      <ol id="search-list">
        <li id="no-search-results">No Results</li>
      </ol>
    </vk-search-results>
  </vk-search>
  <vk-section-title style="margin-top: 1em;">Categories</vk-section-title>
  <vk-categories></vk-categories>
</vk-navigation>


  <vk-struct>

    <vk-name>vkCmdTraceRaysNV</vk-name>

    <vk-description>Initialize a ray tracing dispatch</vk-description>

    <vk-section-title>Syntax</vk-section-title>
    <vk-syntax>
      <pre><code class="language-js">void vkCmdTraceRaysNV();
</code></pre>
    </vk-syntax>

    <vk-section-title>Parameters</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-parameter>commandBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkCommandBuffer.html">VkCommandBuffer</a></vk-property-type>
        <vk-property-description> is the command buffer into which the command will be recorded.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>raygenShaderBindingTableBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkBuffer.html">VkBuffer</a></vk-property-type>
        <vk-property-description> is the buffer object that holds the shader binding table data for the ray generation shader stage.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>raygenShaderBindingOffset</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the offset in bytes (relative to <b>raygenShaderBindingTableBuffer</b>) of the ray generation shader being used for the trace.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>missShaderBindingTableBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkBuffer.html">VkBuffer</a></vk-property-type>
        <vk-property-description> is the buffer object that holds the shader binding table data for the miss shader stage.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>missShaderBindingOffset</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the offset in bytes (relative to <b>missShaderBindingTableBuffer</b>) of the miss shader being used for the trace.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>missShaderBindingStride</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the size in bytes of each shader binding table record in <b>missShaderBindingTableBuffer</b>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>hitShaderBindingTableBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkBuffer.html">VkBuffer</a></vk-property-type>
        <vk-property-description> is the buffer object that holds the shader binding table data for the hit shader stages.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>hitShaderBindingOffset</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the offset in bytes (relative to <b>hitShaderBindingTableBuffer</b>) of the hit shader group being used for the trace.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>hitShaderBindingStride</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the size in bytes of each shader binding table record in <b>hitShaderBindingTableBuffer</b>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>callableShaderBindingTableBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkBuffer.html">VkBuffer</a></vk-property-type>
        <vk-property-description> is the buffer object that holds the shader binding table data for the callable shader stage.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>callableShaderBindingOffset</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the offset in bytes (relative to <b>callableShaderBindingTableBuffer</b>) of the callable shader being used for the trace.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>callableShaderBindingStride</vk-property-parameter>
        <vk-property-type type="number"><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt">BigInt</a></vk-property-type>
      <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the size in bytes of each shader binding table record in <b>callableShaderBindingTableBuffer</b>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>width</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the width of the ray trace query dimensions.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>height</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is height of the ray trace query dimensions.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>depth</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is depth of the ray trace query dimensions.</vk-property-description>
      </vk-property-entry>
      
    </vk-properties>

  </vk-struct>

</vk-centered>

<script>
const IS_ROOT = false;
</script>

<script type="text/javascript" src="../../assets/js/prism.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
